package com.tensquare.article.pojo;

import java.io.Serializable;
import java.util.Objects;

public class ALPK implements Serializable {
    private String aid;//问题ID

    private String lid;//标签ID

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ALPK alpk = (ALPK) o;
        return Objects.equals(aid, alpk.aid) &&
                Objects.equals(lid, alpk.lid);
    }

    @Override
    public int hashCode() {
        return Objects.hash(aid, lid);
    }

    public String getLid() {
        return lid;
    }

    public void setLid(String lid) {
        this.lid = lid;
    }
}
